Skip to content

docs(deployment): instructions to deploy on gcloud app engine standard edition #2742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 8, 2018

Conversation

rohita77
Copy link
Contributor

@rohita77 rohita77 commented Jul 7, 2018

Instructions to deploy on Google Cloud App Engine's Standard environment

Download and install [Google Cloud SDK](https://cloud.google.com/sdk/)
## 2. Create GCP Project
```bash
gcloud projects create PROJECT_ID
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd mention that PROJECT_ID needs to be replaced with something else


# Prequsites
## 1. Google Cloud SDK
Download and install [Google Cloud SDK](https://cloud.google.com/sdk/)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove leading spaces so this text doesn't get put into a code block

## 3. Enable Billing
```bash
gcloud alpha billing projects link my-project \
--billing-account 0X0X0X-0X0X0X-0X0X0X
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain where this code comes from, and perhaps post a direct link to the web page for enabling billing

--billing-account 0X0X0X-0X0X0X-0X0X0X
```
## 4. Create a MongoDB database
Create a MongoDB instance and obtain the uri and credentials
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps add a link for creating a Mongo server

GCloud App Engine supports only the newest version of Node.js 8
```javascript
"engines": {
"node": " =8.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

" =8.0" should probably be ">=8.0"


2.1 create a 'app.yaml' file with the following contents

```javascript
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is YAML, not javascript

```
## 2. Copy app.yaml to dist
```bash
copy app.yaml dist
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bash copy command would be cp

Copy link
Contributor Author

@rohita77 rohita77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as per review comments received

@Awk34 Awk34 merged commit 34c9647 into angular-fullstack:master Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants